package cn.edu.gpnu.market.mapper;

import cn.edu.gpnu.market.po.Quantity;
import cn.edu.gpnu.market.po.QuantityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface QuantityMapper {
    long countByExample(QuantityExample example);

    int deleteByExample(QuantityExample example);

    int deleteByPrimaryKey(Integer qid);

    int insert(Quantity record);

    int insertSelective(Quantity record);

    List<Quantity> selectByExample(QuantityExample example);

    Quantity selectByPrimaryKey(Integer qid);

    int updateByExampleSelective(@Param("record") Quantity record, @Param("example") QuantityExample example);

    int updateByExample(@Param("record") Quantity record, @Param("example") QuantityExample example);

    int updateByPrimaryKeySelective(Quantity record);

    int updateByPrimaryKey(Quantity record);
}